﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DiscoveryLogic.UI.Layouts.Controls
{
    public partial class SearchBox : UserControl
    {

        #region Constructors

            public SearchBox()
            {
                InitializeComponent();
            }

        #endregion Constructors

        #region Public Methods

            public void FadeIn()
            {
                SearchFadeIn.Begin();
                Root.IsHitTestVisible = true;
            }

            public void FadeOut()
            {            
                SearchFadeOut.Begin();
                Root.IsHitTestVisible = false;
            }

        #endregion Public Methods
    }
}
